package com.train.springboot.springboottrain.filter;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;


//不需要添加注解
public class Myfilter2 implements Filter {


    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("---------------您已进入过滤器-2222-------------");

        filterChain.doFilter(servletRequest , servletResponse);
    }
    //声明过滤器
}
